Skip to content

Improve chat rule list & chat rule GUIs#2333

Merged
Alex33856 merged 2 commits into
SkyblockerMod:mainfrom
LJNeon:chat-rules-ui
May 29, 2026
Merged

Improve chat rule list & chat rule GUIs#2333
Alex33856 merged 2 commits into
SkyblockerMod:mainfrom
LJNeon:chat-rules-ui

Conversation

@LJNeon
Copy link
Copy Markdown
Contributor

@LJNeon LJNeon commented Apr 19, 2026

Chat rule list UI utilizes checkboxes instead of yes/no buttons and makes rule names scrollable when they are too long.

Chat rule list preview image

Chat rule configuration UI utilizes checkboxes instead of yes/no buttons and has a link to a helpful resource for learning and testing regex.

Chat rule config preview image
Helpful resource link preview image

Note: Any and all feedback (even personal taste or nitpicks) is highly appreciated.

@LifeIsAParadox LifeIsAParadox added the wip This PR is a work in progress label Apr 19, 2026
@LJNeon LJNeon force-pushed the chat-rules-ui branch 3 times, most recently from 27bac0a to 7ff9b2b Compare April 30, 2026 22:09
@LJNeon LJNeon marked this pull request as ready for review May 11, 2026 04:20
@LifeIsAParadox LifeIsAParadox added reviews needed This PR needs reviews and removed wip This PR is a work in progress labels May 11, 2026
Comment thread src/main/resources/assets/skyblocker/lang/en_us.json Outdated
Comment thread src/main/java/de/hysky/skyblocker/skyblock/chat/ChatRulesConfigListWidget.java Outdated
Comment thread src/main/java/de/hysky/skyblocker/skyblock/chat/ChatRuleConfigScreen.java Outdated
Comment thread src/main/resources/assets/skyblocker/lang/en_us.json Outdated
Comment thread src/main/java/de/hysky/skyblocker/skyblock/chat/ChatRuleConfigScreen.java Outdated
Copy link
Copy Markdown
Contributor

@Alex33856 Alex33856 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to click request changes

@LifeIsAParadox LifeIsAParadox added changes requested This PR need changes and removed reviews needed This PR needs reviews labels May 15, 2026
@LifeIsAParadox LifeIsAParadox added reviews needed This PR needs reviews and removed changes requested This PR need changes labels May 15, 2026
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you want, you can make children a List<AbstractWidget> and add nameWidget to it, so you can just do children.forEach(child -> child.extractRenderState(graphics, mouseX, mouseY, a)); in extractContent.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(which would save 0 lines of code because of the import 💀)

@LifeIsAParadox LifeIsAParadox added merge me please Pull requests that are ready to merge and removed reviews needed This PR needs reviews labels May 19, 2026
@Alex33856 Alex33856 requested a review from viciscat May 19, 2026 22:57
Copy link
Copy Markdown
Collaborator

@viciscat viciscat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for late response didn't see. Still not a fan of the checkboxes, feels like it leaves too much empty space but I don't really care, if ya all think it's better then we shall go with em

@LJNeon
Copy link
Copy Markdown
Contributor Author

LJNeon commented May 29, 2026

Sorry for late response didn't see. Still not a fan of the checkboxes, feels like it leaves too much empty space but I don't really care, if ya all think it's better then we shall go with em

Where exactly? Do you mean the checkboxes in the chat rule list? If so I could try to give more space to the other items to even that out...? Or if you have any other suggestions on how to make it look nicer to you.

@viciscat
Copy link
Copy Markdown
Collaborator

I meant in rule config screen, but it's fine, just gotta get used to it :p

@Alex33856 Alex33856 merged commit cbf4f9c into SkyblockerMod:main May 29, 2026
2 checks passed
@LifeIsAParadox LifeIsAParadox removed the merge me please Pull requests that are ready to merge label May 29, 2026
Alex33856 pushed a commit that referenced this pull request May 29, 2026
* Improve chat rule list & chat rule GUIs

* Various fixes & wording tweaks

(cherry picked from commit cbf4f9c)
@LJNeon LJNeon deleted the chat-rules-ui branch May 29, 2026 17:08
@AzureAaron AzureAaron added this to the 6.5.0 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants